package business.other.punish.impl;

import business.other.punish.AquaticPunishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.AquaticPunishInfo;
import other.domain.AquaticPunishInfoCriteria;
import other.mapper.AquaticPunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "aquaticPunishService")
public class AquaticPunishInfoServiceImpl implements AquaticPunishInfoService {
    @Autowired
    AquaticPunishInfoMapper aquaticPunishInfoMapper;

    @Override
    public List<AquaticPunishInfo> getAquaticPunishInfo() {
        AquaticPunishInfoCriteria criteria = new AquaticPunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return aquaticPunishInfoMapper.selectByExample(criteria);
    }
}
